import request from '../utils/request';
//仓库管理业务接口文档
const api = {
  //库区修改
  UpdateWarehouseArea(data?: any) {
    return request({
      url: '/api/WarehouseArea/UpdateWarehouseArea',
      method: 'post',
      data,
    });
  },
  //新增库区（新增分区名字）
  AddWarehouseArea(data?: any) {
    return request({
      url: '/api/WarehouseArea/AddWarehouseArea',
      method: 'post',
      data,
    });
  },
  //删除库区
  DeleteWarehouseArea(data?: any) {
    return request({
      url: '/api/WarehouseArea/DeleteWarehouseArea',
      method: 'post',
      data,
    });
  },
};
//业务开单接口
export default api;
